package com.veepeak.server.repository;

import com.veepeak.server.common.BaseRepository;
import com.veepeak.server.domain.DtcCommand;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Repository;


@Repository
public interface DtcCommandRepository extends BaseRepository<DtcCommand,String> {
    DtcCommand getFirstByPid(String pid);

    Page<DtcCommand> findByPidIsLikeOrderByPid(Pageable pageable, String pid);
}
